clean up stuttering semicolons.
authortsteven4 <tsteven4@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 28 Apr 2015 12:51:48 +0000 (12:51 +0000)
committertsteven4 <tsteven4@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 28 Apr 2015 12:51:48 +0000 (12:51 +0000)
gpsbabel/arcdist.cc
gpsbabel/csv_util.cc
gpsbabel/garmin.cc
gpsbabel/geo.cc
gpsbabel/height.cc
gpsbabel/shortname.cc
gpsbabel/wbt-200.cc
gpsbabel/wintec_tes.cc

index d5c8e8d21d52ed13be1378977fe9d6c6d9e77878..81885cb720d8f03e635a4a382c1a30b6d9a6a76d 100644 (file)
@@ -243,7 +243,7 @@ arcdist_process(void)
             (ptsopt || (ed->arcpt1->GetCreationTime().isValid()))) {
           /* Interpolate time */
           if (ptsopt) {
-            wp->SetCreationTime(ed->arcpt2->GetCreationTime());;
+            wp->SetCreationTime(ed->arcpt2->GetCreationTime());
           } else {
             // Apply the multiplier to the difference between the times
             // of the two points.   Add that to the first for the
index 78ad8ed7480ea847e5eb852ee0bd16b36fe27fb5..7acde3c49be5896fe80fc2421a6920b199ab178d 100644 (file)
@@ -1115,7 +1115,7 @@ xcsv_parse_val(const char* s, Waypoint* wpt, const field_map_t* fmp,
     break;
   case XT_UTM: {
     char* ss;
-    int i = 0;;
+    int i = 0;
 
     utm_zone = strtod(s, &ss);
     utm_zonec = ss[i];
index 2d2b9bf6bf9cbb1c9d7b840287bb810af8198122..3373311018e05df524c39928cad6013d19580b84 100644 (file)
@@ -1167,7 +1167,7 @@ track_waypt_pr(const Waypoint* wpt)
   (*cur_tx_tracklist_entry)->lat = wpt->latitude;
   (*cur_tx_tracklist_entry)->lon = wpt->longitude;
   (*cur_tx_tracklist_entry)->alt = (wpt->altitude != unknown_alt) ? wpt->altitude : 1e25;
-  (*cur_tx_tracklist_entry)->Time = wpt->GetCreationTime().toTime_t();;
+  (*cur_tx_tracklist_entry)->Time = wpt->GetCreationTime().toTime_t();
   if (!wpt->shortname.isEmpty()) {
     strncpy((*cur_tx_tracklist_entry)->trk_ident, CSTRc(wpt->shortname), sizeof((*cur_tx_tracklist_entry)->trk_ident));
     (*cur_tx_tracklist_entry)->trk_ident[sizeof((*cur_tx_tracklist_entry)->trk_ident)-1] = 0;
index 3a65f2402189d2ab50533a34d5a94f33d7328c4f..192be2092375eeac94bea63423b7db16c8329e93 100644 (file)
@@ -135,7 +135,7 @@ geocache_container wpt_container(const QString& args)
     v = gc_large;
     break;
   case 5:
-    v = gc_virtual;;
+    v = gc_virtual;
     break;
   case 6:
     v = gc_other;
index fcf5b7046454b1c54b3fcf54fc3b66364a523d89..f03e6e7abd67144e91ea9e5d43a8906b7a833962 100644 (file)
@@ -81,7 +81,7 @@ static double wgs84_separation(double lat, double lon)
     fatal(MYNAME ": Invalid latitude value (%f)\n", lat);
   }
   if ((lon > 180.0) || (lon < -180.0)) {
-    fatal(MYNAME ": Invalid longitude value (%f)\n", lon);;
+    fatal(MYNAME ": Invalid longitude value (%f)\n", lon);
   }
 
   ilat=(int)floor((90.0+lat)/GEOID_GRID_DEG);
index a02d4d2d6553b5df027bff2e2b80801c2fdc384c..06e829f1e8b5cb831754abbb49f679d7cc101108 100644 (file)
@@ -337,7 +337,7 @@ main()
 //  X("two 2", "two two");
 //  X("one 1 throne", " one one throne ");
 
-  X("dori", "do-ri");;
+  X("dori", "do-ri");
   X("dora", "do$ra");
   sn.badchars("or");
   X("d-i", "do-ri");
index 6a145ce770c68501cecfe063716870f1e22ea078..d4698b87c4dcdfea9e29571a9a6c56f291233d50 100644 (file)
@@ -548,7 +548,7 @@ static Waypoint* make_point(double lat, double lon, double alt, time_t tim, cons
 
   sprintf(wp_name, fmt, index);
 
-  wpt->latitude       = lat;;
+  wpt->latitude       = lat;
   wpt->longitude      = lon;
   wpt->altitude       = alt;
   wpt->SetCreationTime(tim);
index b9dcbb36f558da736ebebce6f115061b1ccaf2ab..117ead718029a74508788c792833d55c16921e51 100644 (file)
@@ -50,7 +50,7 @@ wintec_date_to_time(uint32_t w)
   tm.tm_mon  = ((w & 0x03c00000) >> 22) - 1;
   tm.tm_year = ((w & 0xfc000000) >> 26) + 100;
 
-  return mkgmtime(&tm);;
+  return mkgmtime(&tm);
 }
 
 static void